package com.victor.service.impl;

import java.util.List;
import java.util.Map;

import javax.management.RuntimeErrorException;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import com.victor.dao.My_JmDao;
import com.victor.dao.UserDao;
import com.victor.entity.step.JMInfo;
import com.victor.entity.step.JMPhoto;
import com.victor.entity.user.LoginQuestion;
import com.victor.entity.user.User;
import com.victor.entity.user.UserBankcard;
import com.victor.service.My_JmService;
import com.victor.service.UserService;
import com.victor.utils.LoginUtil;

@Service
public class My_JmServiceImpl implements My_JmService {
	
	@Autowired
	private My_JmDao My_JmDao;

	/**
	 * 	提交加盟信息
	 */
	@Override
	public boolean submitJMInfo(JMInfo jmInfo) {
		return My_JmDao.submitJMInfo(jmInfo);
	}
	
	/**
	 *	提交加盟营业执照，身份证，经营许可证，环境等相关照片
	 */
	@Override
	public boolean submitPhoto(JMPhoto photos) {
		return My_JmDao.submitPhoto(photos);	
	}
}
